package com.pretty.test.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.pretty.test.controller.pets.blogcomment.vo.CommentListVO;
import com.pretty.test.entity.PetsBlogComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 博客评论Mapper接口
 * @author dujianyu
 * @since 2021-04-21
 */
public interface PetsBlogCommentMapper extends BaseMapper<PetsBlogComment> {

    List<CommentListVO> getCommentByBlogId(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
